package com.dotflat.cc.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * *******************************
 * description:线索
 * Created by Ron.
 * form com.matt
 * on 2018/6/12
 * *******************************
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LeadsPO {

    @ApiModelProperty(name="线索来源")
    private String channel;

    @ApiModelProperty(name = "介绍人")
    private String fromUser;

    @ApiModelProperty(name = "介绍人id")
    private String fromUserId;

    @ApiModelProperty(name = "线索方式")
    private Integer category = 1;

    @ApiModelProperty(name = "线索状态")
    private Integer status = 1;

    @ApiModelProperty("int default 0 COMMENT '是否转为客户  0:未转  1:已转 '")
    private Integer changeStatus = 0;

    @ApiModelProperty("varchar(50) COMMENT '是否转为客户   已转  ：未转'")
    private String changeStatusVal;

    @ApiModelProperty("varchar(50) COMMENT '是否完整'")
    private String isComplete;

    @ApiModelProperty(name = "孩子姓名")
    private String childName;

    @ApiModelProperty(name = "孩子生日")
    private Date birthday;

    @ApiModelProperty(name = "孩子昵称")
    private String nickName;

    @ApiModelProperty(name = "英文名称")
    private String englishName;

    @ApiModelProperty(name = "性别") 
    private Integer gender;

    @ApiModelProperty(name = "血型")
    private String  bloodType;

    @ApiModelProperty(name = "国籍")
    private String nationality;

    @ApiModelProperty(name = "目标幼儿园")
    private String targetGarden;

    @ApiModelProperty(name = "户籍所在地")
    private String registerResidence;

    @ApiModelProperty(name = "户籍类型   1：本片  2：本区外片 3：本市外区  4：外籍  5：港澳台")
    private String registerType;

    @ApiModelProperty(name = "所处语言环境") 
    private String languageEnvironment;

    @ApiModelProperty(name = "姓名") 
    private String name;

    @ApiModelProperty(name = "关系") 
    private String relationship;

    @ApiModelProperty(name = "联系电话") 
    private String mobile;

    @ApiModelProperty(name = "家庭住址") 
    private String homeAddress;

    @ApiModelProperty(name = "工作单位") 
    private String company;

    @ApiModelProperty(name = "职务") 
    private String duty;

    @ApiModelProperty(name = "学历") 
    private String degree;

    @ApiModelProperty("varchar(32) COMMENT '线索所属'")
    private String staffId;

    @ApiModelProperty("varchar(50) COMMENT '员工姓名'")
    private String staffName;

//    @ApiModelProperty(" datetime DEFAULT NOW() COMMENT '最后更新时间' ")
//    private Date lastModified;
//
//    @ApiModelProperty("varchar(32) COMMENT '最后更新人'")
//    private String lastModifiedId;

    @ApiModelProperty("varchar(32) COMMENT '所属园区'")
    private String areaId;

    @ApiModelProperty(" datetime COMMENT '上次跟进时间' ")
    private Date lastFollowTime;

    //最新跟进记录  获取跟进记录中最新的内容
    @ApiModelProperty(" longtext COMMENT '最近跟进记录'")
    private String lastFollowRecord;


}
